package flash.security;

extern class XMLSignatureValidator extends flash.events.EventDispatcher
{
	static var isSupported(default, null):Bool;
	function addCertificate(cert:flash.utils.ByteArray, trusted:Bool):Dynamic;
	function verify(signature:flash.xml.XML):Void;
	var revocationCheckSetting:flash.security.RevocationCheckSettings;
	var referencesValidationSetting:flash.security.ReferencesValidationSetting;
	var referencesStatus(default, null):flash.security.SignatureStatus;
	var signerCN(default, null):String;
	var digestStatus(default, null):flash.security.SignatureStatus;
	var signerTrustSettings(default, null):Array<flash.security.SignerTrustSettings>;
	var uriDereferencer:flash.security.IURIDereferencer;
	var useSystemTrustStore:Bool;
	var signerExtendedKeyUsages(default, null):Array<Float>;
	var identityStatus(default, null):flash.security.SignatureStatus;
	var validityStatus(default, null):flash.security.SignatureStatus;
	var signerDN(default, null):String;
	function new():Void;
}